package com.movie.util;

import java.math.BigDecimal;
import java.util.Date;

public class ScreeningRequest {
    private Integer movieId;
    private Integer hallId;
    private Date screeningTime;
    private BigDecimal price;

    public ScreeningRequest() {}

    public ScreeningRequest(Integer movieId, Integer hallId, Date screeningTime, BigDecimal price) {
        this.movieId = movieId;
        this.hallId = hallId;
        this.screeningTime = screeningTime;
        this.price = price;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public Integer getHallId() {
        return hallId;
    }

    public void setHallId(Integer hallId) {
        this.hallId = hallId;
    }

    public Date getScreeningTime() {
        return screeningTime;
    }

    public void setScreeningTime(Date screeningTime) {
        this.screeningTime = screeningTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "ScreeningRequest{" +
                "movieId=" + movieId +
                ", hallId=" + hallId +
                ", screeningTime=" + screeningTime +
                ", price=" + price +
                '}';
    }
}